package com.zg.common.core.dao.scf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zg.common.core.dao.scf.entity.AccAccount;
import com.zg.common.core.dao.scf.entity.AccAccountDetail;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/21 20:49
 */
@Mapper
public interface AccAccountDetailMapper extends BaseMapper<AccAccountDetail> {

//    @Select("<script>" +
//            "SELECT conf.*, company.name as companyName FROM conf_company conf " +
//            "LEFT JOIN gyl_company company ON company.id = conf.company_id " +
//            "<where>" +
//            "  company.is_del = 0 and conf.is_del=0" +
//            "   <if test=\"companyName != null and ew.sqlSegment != ''\"> AND company.name LIKE '%' || #{companyName} || '%'</if>" +
//            "  <if test=\"ew != null and ew.sqlSegment != ''\"> AND ${ew.sqlSegment}</if>" +
//            "</where>" +
//            "</script>")
//    Page<ConfCompany> page(Page<ConfCompany> page,
//                          @Param(Constants.WRAPPER) LambdaQueryWrapper<ConfCompany> wrapper,@Param("companyName") String companyName);
}
